package com.huawei.bigdate.hbaseEs;

import com.huawei.bigdate.hbaseEs.service.ESSearch;
import com.huawei.bigdate.hbaseEs.service.HBaseSearch;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration;

@org.springframework.boot.autoconfigure.SpringBootApplication(exclude = {DataSourceAutoConfiguration.class, HibernateJpaAutoConfiguration.class})
public class HBaseEsApplication {
    //spring boot应用启动入口
    public static void main(String[] args) {
        SpringApplication.run(HBaseEsApplication.class, args);
        ESSearch esSearch = new ESSearch();
        esSearch.esInit();
        HBaseSearch hBaseSearch = new HBaseSearch();
        hBaseSearch.login();
        System.out.println("启动完成-----------------------------------");
    }
}
